<template>
    <div class="box">
        <ul v-for="(item) in goodsLArr" :key="item.id">
            <p class="qwe">{{ item.name }}</p>
            <li v-for="item in item.goodsList" :key="item.id">
                <img :src="item.list_pic_url" alt="" v-lazy="item.list_pic_url">
                <p>{{ item.name }}</p>
                <p class="mary">{{ item.retail_price | formatMoney }}</p>
            </li>
        </ul>

    </div>
</template>
<script>
export default {
    name: '',
    props: ['goodsLArr'],
    data() {
        return {}
    },
    components: {
    },
    watch: {},
    methods: {
    },
    beforeCreate() { },
    created() { },
    beforeMount() { },
    mounted() { },
    beforeUpdate() { },
    updated() { },
    beforeDestroy() { },
    destroyed() { },
};
</script>
<style scoped lang="less">
.box {
    ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    li{
        width: 48%;
    }
    p{
        font-size: 18px;
        text-align: center;
    }

    img {
        width: 100%;
    }

    
   .qwe{
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    padding: 20px;
   }
   .mary{
    color: red;
   }
}
</style>